package main

import (
	api "entry_task/entry_api/service"
	_ "entry_task/entry_core/src/dao/impl"
	_ "entry_task/entry_core/src/db/impl"
	"entry_task/entry_core/src/service"
	"google.golang.org/grpc"
	"net"
)

func main() {
	rpcServer := grpc.NewServer()
	api.RegisterUserInfoServiceServer(rpcServer, new(service.UserInfoServiceImpl))
	listen, _ := net.Listen("tcp", ":8088")
	rpcServer.Serve(listen)

}
